package com.itheima.opp;

public class Java_02 {
    public static void main(String[] args) {
        HaFo s1 = new HaFo();
        s1.score = 250.0;
        s1.test(300.0);
        System.out.println("-------------------------");
        s1.ptintthis();
        //this可以访问本类对象的成员变量
        HaFo s2 = new HaFo();
        s2.score = 230.0;
        s2.test(120.0);
        s2.ptintthis();
    }
}
